package com.baiduspring.dubbo.service.mybatis.mapper;

import com.baiduspring.domain.SmsCode;
import org.apache.ibatis.annotations.Param;

public interface SmsCodeMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SmsCode record);

    int insertSelective(SmsCode record);

    SmsCode selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SmsCode record);

    int updateByPrimaryKey(SmsCode record);

    SmsCode selectByMobile(@Param("mobile") Long mobile, @Param("code") String code, @Param("time") Long time);
}